
program define mybstrpbetas, eclass
         version 11
         bootstrap, reps(1000):  reg `0'
         tempname b V
         mat `b' = e(b)
         mat `V' = e(V)
         mat colnames `b' = "Betas" "Constant"
         mat colnames `V' = "Betas" "Constant"
         mat rownames `V' = "Betas" "Constant"
         eret post `b' `V'
         eret local cmd mybetas
end
